package com.a918.dao;

import com.a918.entity.Score;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface ScoreMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Score record);

    int insertSelective(Score record);

    Score selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Score record);

    int updateByPrimaryKey(Score record);

    Score getByNameAndYuefen(String wangdian,String yuefen);

    List<Score> getMinOrMaxZhibiao(@Param("zhibiao")String zhibiao,@Param("yuefen") String yuefen, @Param("ismax") Integer isMax);

    List<Score> getByNameAndYueRange(String wangdian,String yuefenBgn,String yuefenEnd);
}